package com.etc.dao;

import java.util.List;

import com.etc.entity.Province;

public interface ProvinceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Province record);

    int insertSelective(Province record);

    Province selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Province record);

    int updateByPrimaryKey(Province record);
    
    //查询所有省份
    List<Province> selectAll();
    //根据省份编号查询信息
    Province selectByproId(int pid);
    //根据省份名字查询省份信息
    Province selectByPname(String pname);
}